package com.mini.spring.singleton;

import java.util.HashMap;
import java.util.Map;

public class SingletonBeanRegistry {
    public Map<String, Object> singletonMap = new HashMap<>();

    public Object getSingleton(String name) {
        return singletonMap.get(name);
    }
}
